Once you change the product options (Color) the gallery automatically displays images assigned to a variant. You can assign images to a single option (example: Color) or combination of options (Examples: Size + Color, Material + Color, Size + Model).